package com.wl.cloud.system.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.wl.cloud.core.mybatis.CustomBaseMapper;
import com.wl.cloud.system.domain.SysResourceCategory;
import com.wl.cloud.system.support.vo.SysResourceCategoryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 后台资源类型表 Mapper接口
 *
 * @author wanglin
 * @since 2023-09-18
 */
@Mapper
public interface SysResourceCategoryMapper extends CustomBaseMapper<SysResourceCategory> {
    /**
     * 查询后台资源类型表
     *
     * @return
     */
    List<SysResourceCategoryVO> selectSysResourceCategoryList();

    /**
     * 后台资源类型表
     *
     * @param queryWrapper
     * @return
     */
    List<SysResourceCategoryVO> selectResourceCategoryList(@Param(Constants.WRAPPER) Wrapper<SysResourceCategory> queryWrapper);

    IPage<SysResourceCategoryVO> selectResourceCategoryPage(IPage<SysResourceCategory> page, @Param(Constants.WRAPPER) Wrapper<SysResourceCategory> queryWrapper);
}